package com.xiaoxi.open.design.creation.abstractfactorypattern.service.page.list;

import com.xiaoxi.open.design.creation.abstractfactorypattern.service.page.factory.TrayService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @Author xiaoxi
 * @ProjectName creation_pattern
 * @PackageName com.xiaoxi.open.design.creation.abstractfactorypattern.service.page.list
 * @ClassName ListTrayFactory
 * @Description 列表托盘
 * @Date 2024/5/11 17:16
 * @Version 1.0
 */
@Service
@Slf4j
public class ListTrayServiceImpl implements TrayService {

    @Override
    public String makeHTML() {
        return "<ul>\n" +
                "  <li>咖啡</li>\n" +
                "  <li>茶</li>\n" +
                "  <li>牛奶</li>\n" +
                "</ul>";
    }

}
